<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/framework/tcp/ClassFactory.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_5752cadd8276ecfd63d9b924f2a4d4b5.html">framework</a></li><li class="navelem"><a class="el" href="dir_c67741c6509c9bd4aec6faa9fd694608.html">tcp</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ClassFactory.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_class_factory_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __CLASSFACTORY_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __CLASSFACTORY_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;../../tools/tools.h&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">class </span><a class="code" href="class_client.html">Client</a>;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">class </span><a class="code" href="class_service.html">Service</a>;</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keyword">class </span><a class="code" href="class_server.html">Server</a>;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_client_factory.html">   16</a></span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_client_factory.html">ClientFactory</a></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;{</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_client_factory.html#aa8c251c063b7325d6396fe5abbdfb694">   19</a></span>&#160;    <a class="code" href="class_client_factory.html#aa8c251c063b7325d6396fe5abbdfb694">ClientFactory</a>() {}</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_client_factory.html#a9ba4dcd5eb042b3136817ae7ad6e78dd">   20</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_client_factory.html#a9ba4dcd5eb042b3136817ae7ad6e78dd">~ClientFactory</a>() {}</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_client.html">Client</a>* GetClient() = 0;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="struct_release_client.html">ReleaseClient</a>(<a class="code" href="class_client.html">Client</a>* c) = 0;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;};</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_service_factory.html">   31</a></span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_service_factory.html">ServiceFactory</a></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_service_factory.html#a514db0fcdbce4e218e544d3ea3673fb5">   34</a></span>&#160;    <a class="code" href="class_service_factory.html#a514db0fcdbce4e218e544d3ea3673fb5">ServiceFactory</a>() {}</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_service_factory.html#a9fccf8deac202cec300caf2068aa4ff1">   35</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_service_factory.html#a9fccf8deac202cec300caf2068aa4ff1">~ServiceFactory</a>() {}</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_service.html">Service</a>* GetServer() = 0;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="struct_release_server.html">ReleaseServer</a>(<a class="code" href="class_service.html">Service</a>* s) = 0;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;};</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_server_factory.html">   48</a></span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_server_factory.html">ServerFactory</a> :<span class="keyword">public</span> <a class="code" href="class_service_factory.html">ServiceFactory</a></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;{</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_service.html">Service</a>* <a class="code" href="class_service_factory.html#ad325b9a50a3be97065877c4e4c2d3467">GetServer</a>();</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_service_factory.html#a7f89020ad02e5e83909fe8fd0f02ebb4">ReleaseServer</a>(<a class="code" href="class_service.html">Service</a>* s);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;};</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="struct_release_client.html">   58</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_release_client.html">ReleaseClient</a> :<span class="keyword">public</span> std::unary_function&lt;Client, void&gt;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;{</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="struct_release_client.html#a976ac94a61da4b283374bd11a0e181b3">   60</a></span>&#160;    <a class="code" href="struct_release_client.html#a976ac94a61da4b283374bd11a0e181b3">ReleaseClient</a>() :<a class="code" href="struct_release_client.html#a70593ba2951055d6d0b56eee7970c485">_cls</a>(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>) {}</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="struct_release_client.html#ad58cbbc9d08c4de8faf6d02c58532aab">   61</a></span>&#160;    <a class="code" href="struct_release_client.html#ad58cbbc9d08c4de8faf6d02c58532aab">ReleaseClient</a>(<a class="code" href="class_client_factory.html">ClientFactory</a>* cls) :<a class="code" href="struct_release_client.html#a70593ba2951055d6d0b56eee7970c485">_cls</a>(cls) {}</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="struct_release_client.html#a3813690822638098e109a170d6237cf3">   62</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_release_client.html#a3813690822638098e109a170d6237cf3">operator() </a>(<a class="code" href="class_client.html">Client</a>* c) { <a class="code" href="struct_release_client.html#a70593ba2951055d6d0b56eee7970c485">_cls</a>-&gt;<a class="code" href="class_client_factory.html#add417d335c5811f27b16d1668be3a03c">ReleaseClient</a>(c); }</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="struct_release_client.html#a70593ba2951055d6d0b56eee7970c485">   65</a></span>&#160;    <a class="code" href="class_client_factory.html">ClientFactory</a>* <a class="code" href="struct_release_client.html#a70593ba2951055d6d0b56eee7970c485">_cls</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;};</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="struct_release_server.html">   68</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_release_server.html">ReleaseServer</a> :<span class="keyword">public</span> std::unary_function&lt;Service, void&gt;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="struct_release_server.html#aec09ffc4330c0916b943f5034194f5fa">   70</a></span>&#160;    <a class="code" href="struct_release_server.html#aec09ffc4330c0916b943f5034194f5fa">ReleaseServer</a>() :<a class="code" href="struct_release_server.html#aa84ce989c1dd7ee4e84780fd8834c8a1">_cls</a>(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>) {}</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="struct_release_server.html#a4963de8193f1d4dd9617a9a7d408d82a">   71</a></span>&#160;    <a class="code" href="struct_release_server.html#a4963de8193f1d4dd9617a9a7d408d82a">ReleaseServer</a>(<a class="code" href="class_service_factory.html">ServiceFactory</a>* cls) :<a class="code" href="struct_release_server.html#aa84ce989c1dd7ee4e84780fd8834c8a1">_cls</a>(cls) {}</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="struct_release_server.html#a9ed58c1b0e2e640f4bd7de23d68f9b9b">   72</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_release_server.html#a9ed58c1b0e2e640f4bd7de23d68f9b9b">operator() </a>(<a class="code" href="class_service.html">Service</a>* s) { <a class="code" href="struct_release_server.html#aa84ce989c1dd7ee4e84780fd8834c8a1">_cls</a>-&gt;<a class="code" href="class_service_factory.html#a7f89020ad02e5e83909fe8fd0f02ebb4">ReleaseServer</a>(s); }</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="struct_release_server.html#aa84ce989c1dd7ee4e84780fd8834c8a1">   75</a></span>&#160;    <a class="code" href="class_service_factory.html">ServiceFactory</a>* <a class="code" href="struct_release_server.html#aa84ce989c1dd7ee4e84780fd8834c8a1">_cls</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;};</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">#endif //__CLASSFACTORY_H__</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_client_factory_html_aa8c251c063b7325d6396fe5abbdfb694"><div class="ttname"><a href="class_client_factory.html#aa8c251c063b7325d6396fe5abbdfb694">ClientFactory::ClientFactory</a></div><div class="ttdeci">ClientFactory()</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00019">ClassFactory.h:19</a></div></div>
<div class="ttc" id="aclass_server_html"><div class="ttname"><a href="class_server.html">Server</a></div><div class="ttdef"><b>Definition:</b> <a href="_server_8h_source.html#l00013">Server.h:13</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="astruct_release_server_html_a4963de8193f1d4dd9617a9a7d408d82a"><div class="ttname"><a href="struct_release_server.html#a4963de8193f1d4dd9617a9a7d408d82a">ReleaseServer::ReleaseServer</a></div><div class="ttdeci">ReleaseServer(ServiceFactory *cls)</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00071">ClassFactory.h:71</a></div></div>
<div class="ttc" id="aclass_service_factory_html_a7f89020ad02e5e83909fe8fd0f02ebb4"><div class="ttname"><a href="class_service_factory.html#a7f89020ad02e5e83909fe8fd0f02ebb4">ServiceFactory::ReleaseServer</a></div><div class="ttdeci">virtual void ReleaseServer(Service *s)=0</div><div class="ttdoc">回收一个server,默认delete Server</div></div>
<div class="ttc" id="astruct_release_server_html"><div class="ttname"><a href="struct_release_server.html">ReleaseServer</a></div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00068">ClassFactory.h:68</a></div></div>
<div class="ttc" id="atools_8h_html_a64152c8b939d1ce06c7c5cb6c97b62f8"><div class="ttname"><a href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a></div><div class="ttdeci">#define LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00095">tools.h:95</a></div></div>
<div class="ttc" id="aclass_server_factory_html"><div class="ttname"><a href="class_server_factory.html">ServerFactory</a></div><div class="ttdoc">服务端类工厂</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00048">ClassFactory.h:48</a></div></div>
<div class="ttc" id="aclass_service_html"><div class="ttname"><a href="class_service.html">Service</a></div><div class="ttdoc">服务基类</div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00019">Service.h:19</a></div></div>
<div class="ttc" id="astruct_release_server_html_a9ed58c1b0e2e640f4bd7de23d68f9b9b"><div class="ttname"><a href="struct_release_server.html#a9ed58c1b0e2e640f4bd7de23d68f9b9b">ReleaseServer::operator()</a></div><div class="ttdeci">void operator()(Service *s)</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00072">ClassFactory.h:72</a></div></div>
<div class="ttc" id="aclass_service_factory_html_a514db0fcdbce4e218e544d3ea3673fb5"><div class="ttname"><a href="class_service_factory.html#a514db0fcdbce4e218e544d3ea3673fb5">ServiceFactory::ServiceFactory</a></div><div class="ttdeci">ServiceFactory()</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00034">ClassFactory.h:34</a></div></div>
<div class="ttc" id="aclass_service_factory_html_ad325b9a50a3be97065877c4e4c2d3467"><div class="ttname"><a href="class_service_factory.html#ad325b9a50a3be97065877c4e4c2d3467">ServiceFactory::GetServer</a></div><div class="ttdeci">virtual Service * GetServer()=0</div><div class="ttdoc">生产一个server,默认使用new Server</div></div>
<div class="ttc" id="astruct_release_client_html_a976ac94a61da4b283374bd11a0e181b3"><div class="ttname"><a href="struct_release_client.html#a976ac94a61da4b283374bd11a0e181b3">ReleaseClient::ReleaseClient</a></div><div class="ttdeci">ReleaseClient()</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00060">ClassFactory.h:60</a></div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="astruct_release_server_html_aa84ce989c1dd7ee4e84780fd8834c8a1"><div class="ttname"><a href="struct_release_server.html#aa84ce989c1dd7ee4e84780fd8834c8a1">ReleaseServer::_cls</a></div><div class="ttdeci">ServiceFactory * _cls</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00075">ClassFactory.h:75</a></div></div>
<div class="ttc" id="astruct_release_client_html"><div class="ttname"><a href="struct_release_client.html">ReleaseClient</a></div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00058">ClassFactory.h:58</a></div></div>
<div class="ttc" id="aclass_client_factory_html"><div class="ttname"><a href="class_client_factory.html">ClientFactory</a></div><div class="ttdoc">客户端类工厂</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00016">ClassFactory.h:16</a></div></div>
<div class="ttc" id="astruct_release_client_html_a70593ba2951055d6d0b56eee7970c485"><div class="ttname"><a href="struct_release_client.html#a70593ba2951055d6d0b56eee7970c485">ReleaseClient::_cls</a></div><div class="ttdeci">ClientFactory * _cls</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00065">ClassFactory.h:65</a></div></div>
<div class="ttc" id="aclass_service_factory_html_a9fccf8deac202cec300caf2068aa4ff1"><div class="ttname"><a href="class_service_factory.html#a9fccf8deac202cec300caf2068aa4ff1">ServiceFactory::~ServiceFactory</a></div><div class="ttdeci">virtual ~ServiceFactory()</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00035">ClassFactory.h:35</a></div></div>
<div class="ttc" id="aclass_service_factory_html"><div class="ttname"><a href="class_service_factory.html">ServiceFactory</a></div><div class="ttdoc">服务类工厂基类</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00031">ClassFactory.h:31</a></div></div>
<div class="ttc" id="astruct_release_client_html_ad58cbbc9d08c4de8faf6d02c58532aab"><div class="ttname"><a href="struct_release_client.html#ad58cbbc9d08c4de8faf6d02c58532aab">ReleaseClient::ReleaseClient</a></div><div class="ttdeci">ReleaseClient(ClientFactory *cls)</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00061">ClassFactory.h:61</a></div></div>
<div class="ttc" id="atools_8h_html_ab689500aaec0db066e3ac9483d3fe425"><div class="ttname"><a href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></div><div class="ttdeci">#define NullPtr</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00119">tools.h:119</a></div></div>
<div class="ttc" id="aclass_client_factory_html_a9ba4dcd5eb042b3136817ae7ad6e78dd"><div class="ttname"><a href="class_client_factory.html#a9ba4dcd5eb042b3136817ae7ad6e78dd">ClientFactory::~ClientFactory</a></div><div class="ttdeci">virtual ~ClientFactory()</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00020">ClassFactory.h:20</a></div></div>
<div class="ttc" id="astruct_release_client_html_a3813690822638098e109a170d6237cf3"><div class="ttname"><a href="struct_release_client.html#a3813690822638098e109a170d6237cf3">ReleaseClient::operator()</a></div><div class="ttdeci">void operator()(Client *c)</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00062">ClassFactory.h:62</a></div></div>
<div class="ttc" id="aclass_client_html"><div class="ttname"><a href="class_client.html">Client</a></div><div class="ttdef"><b>Definition:</b> <a href="_client_8h_source.html#l00012">Client.h:12</a></div></div>
<div class="ttc" id="aclass_client_factory_html_add417d335c5811f27b16d1668be3a03c"><div class="ttname"><a href="class_client_factory.html#add417d335c5811f27b16d1668be3a03c">ClientFactory::ReleaseClient</a></div><div class="ttdeci">virtual void ReleaseClient(Client *c)=0</div><div class="ttdoc">回收一个client</div></div>
<div class="ttc" id="astruct_release_server_html_aec09ffc4330c0916b943f5034194f5fa"><div class="ttname"><a href="struct_release_server.html#aec09ffc4330c0916b943f5034194f5fa">ReleaseServer::ReleaseServer</a></div><div class="ttdeci">ReleaseServer()</div><div class="ttdef"><b>Definition:</b> <a href="_class_factory_8h_source.html#l00070">ClassFactory.h:70</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
